package framework;

import java.util.ArrayList;

public class NomUser {
	int id;
	String name, email, username;
	ArrayList<NomUser> friends;
	boolean isAdmin;
	public NomUser(int id, String username, String email, String name,
			ArrayList<NomUser> friends, boolean isAdmin) {
		this.id = id;
		this.username = username;
		this.email = email;
		this.name = name;
		this.friends = friends;
		this.isAdmin = isAdmin;
	}
	public boolean isAdmin(){
		return isAdmin;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public ArrayList<NomUser> getFriends() {
		return friends;
	}
	public void setFriends(ArrayList<NomUser> friends) {
		this.friends = friends;
	}
}
